home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / python2.4 / idlelib / idle.pyc (.txt) < prev    next >
Python Compiled Bytecode  |  2005-10-18  |  598b  |  26 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.4)
  3.  
  4.  
  5. try:
  6.     import idlelib.PyShell as idlelib
  7. except ImportError:
  8.     
  9.     try:
  10.         import PyShell
  11.     except ImportError:
  12.         raise 
  13.  
  14.     import os
  15.     idledir = os.path.dirname(os.path.abspath(PyShell.__file__))
  16.     if idledir != os.getcwd():
  17.         pypath = os.environ.get('PYTHONPATH', '')
  18.         if pypath:
  19.             os.environ['PYTHONPATH'] = pypath + ':' + idledir
  20.         else:
  21.             os.environ['PYTHONPATH'] = idledir
  22.     
  23.     PyShell.main()
  24.  
  25. idlelib.PyShell.main()
  26.